package zhushi;
@MyAnnotation(name = "zhangsan",age = 19,address = "北京，上海，武汉",value = "你好")
// 类上加注解
public class Test {
    @MyAnnotation(name = "zhangsan",age = 19,address = "北京，上海，武汉",value = "你好")
    private String name;
    // 字段上加注解

    @MyAnnotation(name = "zhangsan",age = 19,address = "北京，上海，武汉",value = "你好")
    public Test() {
        //构造方法上加注解

    }

    @MyAnnotation(name = "zhangsan",age = 19,address = "北京，上海，武汉",value = "你好")
    public void eat(@MyAnnotation(name = "zhangsan",age = 19,address = "北京，上海，武汉",value = "你好")
                                 String name ) {

        // PRARAM 参数上加注解

    }
}
